HotSpotView

constructor(context: Context, module: Module)

Constructs a new HotSpotView.

Parameters

context

The Context the view is running in, through which it can access the current theme, resources, etc.

module

The Module data that defines the properties and configuration of this hotspot. Must not be null.

Throws

if the provided module is null, as it's essential for the hotspot's configuration.